package com.himamis.retex.renderer.share.xarrows;

public class XHookLeftArrow extends XArrowBox {

	public XHookLeftArrow(double width) {
		this.commands = "MQQQQQQQQLQQQQQQQQLQQQQQQQQ";

		this.width = width < 1 ? 1 : width;
		this.height = 0.366875;
		this.depth = -0.0665625;

		double len = width < 0.9 ? 0.7 : width - 0.2;
		data = new double[] { 0.222 + len, -0.347, 0.151 + len, -0.448,
				0.222 + len, -0.415, 0.080 + len, -0.464, 0.116 + len, -0.464,
				0.055 + len, -0.444, 0.055 + len, -0.464, 0.076 + len, -0.424,
				0.055 + len, -0.427, 0.177 + len, -0.371, 0.157 + len, -0.421,
				0.182 + len, -0.347, 0.182 + len, -0.359, 0.130 + len, -0.280,
				0.182 + len, -0.300, 0.075 + len, -0.270, 0.107 + len, -0.271,
				0.141, -0.270, 0.220, -0.356, 0.187, -0.304, 0.249, -0.416,
				0.249, -0.401, 0.234, -0.428, 0.249, -0.428, 0.218, -0.418,
				0.223, -0.428, 0.071, -0.264, 0.172, -0.312, 0.067, -0.262,
				0.065, -0.261, 0.057, -0.250, 0.057, -0.256, 0.069, -0.237,
				0.057, -0.244, 0.092, -0.225, 0.217, -0.086, 0.174, -0.179,
				0.234, -0.072, 0.223, -0.072, 0.249, -0.084, 0.249, -0.072,
				0.243, -0.101, 0.249, -0.088, 0.141, -0.230, 0.209, -0.180,
				0.080 + len, 0.464 + -0.694, 0.055 + len, 0.464 + -0.694,
				0.188 + len, 0.423 + -0.694, 0.144 + len, 0.464 + -0.694,
				0.222 + len, 0.347 + -0.694, 0.222 + len, 0.392 + -0.694 };
	}
}
